﻿<html>
	<head>
		<title>Welcome to Grails</title>        
		<meta name="layout" content="main" />
		
<link href="css/global.css" rel="stylesheet" type="text/css">
<link href="css/simplemenu.css" rel="stylesheet" type="text/css">
<script src="js/menu.js"></script>

<SCRIPT>
function switchSysBar(){
	if (switchPoint.innerText==3)
		{
		switchPoint.innerText=4
		document.all("frmTitle").style.display="none"
		}
	else
		{
		switchPoint.innerText=3
		document.all("frmTitle").style.display=""
		}
	}
</SCRIPT>
		<base target="ifmCW">
    </head>
    
    <body>
        <h1 style="margin-left:20px;">配置选项维护（原型）</h1>
        <p style="margin-left:20px;width:80%">这是一个非常简化的，用于配置选项信息维护的小应用。（实际是为了实践用Grails快速构建应用原型的产物）</p>


<!-- {menu bugin} -->

<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
	<td id="frmTitle" width="160">
		
		<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
    			<td valign="top" id="menuCell">
<div id="menu1" expmode=1> 
  <div id="menunode"> 
    <div id="menutit" onClick="expThis()">基本功能
    </div> 
    <div id="menusub">
    	<a href="/kis-config/" target="_top">首页</a>
    	<a href="/kis-config/register/index">注册</a>
		<a href="/kis-config/login/index">Login</a>
		<a href="/kis-config/logout/index">Logout</a>	
    </div> 
  </div>

  <div id="menunode"> 
    <div id="menutit" onClick="expThis()">基本配置
    </div> 
    <div id="menusub">			
		<a href="/kis-config/kisConfigDictionary/index">基本配置信息</a>
		<a href="/kis-config/simpleMenu/index">SimpleMenu Config</a>
		
    </div> 
  </div>
        
  <div id="menunode"> 
    <div id="menutit" onClick="expThis()">权限配置
    </div> 
    <div id="menusub">
        <a href="/kis-config/requestmap/index">权限配置</a>
        <a href="/kis-config/person/index">用户信息</a>
        <a href="/kis-config/authority/index">角色信息</a>
    </div> 
  </div>

  <div id="menunode"> 
    <div id="menutit" onClick="expThis()">plugins demo
    </div> 
    <div id="menusub">			
		<a href="/kis-config/plugins-demo/try-modalbox.gsp">modalbox</a>
		
		
    </div> 
  </div>
  
    <div id="menunode"> 
    <div id="menutit" onClick="expThis()">Installed Plugins
    </div> 
    <div id="menusub">
<!--	start	-->
	<g:set var="pluginManager"	value="${applicationContext.getBean('pluginManager')}"></g:set>
	<g:each var="plugin" in="${pluginManager.allPlugins}">
		<a href="/kis-config/" title="ver: ${plugin.version}">${plugin.name}</a>
	</g:each>
<!--	end		-->
    </div> 
  </div>
  
				</td>
			</tr>
		</table>
	</td>
	<td width="8" height="100%" align="center" bgcolor="#ffffff" onclick="javascript:switchSysBar()" style="cursor:hand" title="显示/隐藏菜单"><img src="images/line2.gif"></td>
	<td><iframe id="cw" name="ifmCW"  frameborder="0" src="main.gsp" scrolling="auto" width="100%" height="100%"></iframe>
	</td>
  </tr>
</table>
<script>
initMenu(menu1,0);
</script>
<span class="switch"></span><span id=switchPoint style="color:#ffffff;display:none;">3</span>

    
<!-- {menu end} -->

	<g:render template="/footer" />

    </body>
</html>